<?php

namespace App\Store\Models\Order;

use App\Common\Services\Common;
use App\Common\Services\Date\TimerRange;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Http\Request;
use App\Common\Services\Store\Common as StoreCommon;
use App\Store\Models\Account\SiteStore;
use App\Store\Models\Member\Member;
use App\Store\Models\Account\Account;

class OrderSalesSendGoods extends Model
{
    protected $table = 'site_order_sales_send_goods';
    public $timestamps = false;
    protected $primaryKey = 'id';
    protected $guarded = ['_token'];

    public function storeinfo(){
        return $this->hasOne(SiteStore::class, 'id', 'store_id')->select(['id', 'store_name']);
    }

}
